package com.qifan.alb2b.domain;

import java.util.Date;

import org.codehaus.jackson.map.annotate.JsonSerialize;

import com.qifan.alb2b.util.diy.CustomDateSerializer;

/**
 * 订单对象
 * 
 * @author hc24
 * 
 */
public class OrderInfoDomain {
	private String orderId;
	private String userId;
	private String companyId;
	private String routeId;
	private int day;
	private int night;
	private Date goTime;
	private Date backTime;
	private String goCityCn;
	private int doubleRoomCount;
	private int singleRoomCount;
	private int childBedCount;
	private int childNoBedCount;
	private int addBedCount;
	private int totalCount;
	private int groupType;
	private int orderStatus;
	private Date createTime;
	private double orderTotalAmount;
	private double stdTotalAmount;
	private double addTotalAmount;
	private Date payTime;
	private String remark;

	public String getOrderId() {
		return orderId;
	}

	public void setOrderId(String orderId) {
		this.orderId = orderId;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getCompanyId() {
		return companyId;
	}

	public void setCompanyId(String companyId) {
		this.companyId = companyId;
	}

	public String getRouteId() {
		return routeId;
	}

	public void setRouteId(String routeId) {
		this.routeId = routeId;
	}

	public int getDay() {
		return day;
	}

	public void setDay(int day) {
		this.day = day;
	}

	public int getNight() {
		return night;
	}

	public void setNight(int night) {
		this.night = night;
	}
	@JsonSerialize(using=CustomDateSerializer.class)
	public Date getGoTime() {
		return goTime;
	}

	public void setGoTime(Date goTime) {
		this.goTime = goTime;
	}
	@JsonSerialize(using=CustomDateSerializer.class)
	public Date getBackTime() {
		return backTime;
	}

	public void setBackTime(Date backTime) {
		this.backTime = backTime;
	}

	public String getGoCityCn() {
		return goCityCn;
	}

	public void setGoCityCn(String goCityCn) {
		this.goCityCn = goCityCn;
	}

	public int getDoubleRoomCount() {
		return doubleRoomCount;
	}

	public void setDoubleRoomCount(int doubleRoomCount) {
		this.doubleRoomCount = doubleRoomCount;
	}

	public int getSingleRoomCount() {
		return singleRoomCount;
	}

	public void setSingleRoomCount(int singleRoomCount) {
		this.singleRoomCount = singleRoomCount;
	}

	public int getChildBedCount() {
		return childBedCount;
	}

	public void setChildBedCount(int childBedCount) {
		this.childBedCount = childBedCount;
	}

	public int getChildNoBedCount() {
		return childNoBedCount;
	}

	public void setChildNoBedCount(int childNoBedCount) {
		this.childNoBedCount = childNoBedCount;
	}

	public int getAddBedCount() {
		return addBedCount;
	}

	public void setAddBedCount(int addBedCount) {
		this.addBedCount = addBedCount;
	}

	public int getTotalCount() {
		return totalCount;
	}

	public void setTotalCount(int totalCount) {
		this.totalCount = totalCount;
	}

	public int getGroupType() {
		return groupType;
	}

	public void setGroupType(int groupType) {
		this.groupType = groupType;
	}

	public int getOrderStatus() {
		return orderStatus;
	}

	public void setOrderStatus(int orderStatus) {
		this.orderStatus = orderStatus;
	}
	@JsonSerialize(using=CustomDateSerializer.class)
	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public double getOrderTotalAmount() {
		return orderTotalAmount;
	}

	public void setOrderTotalAmount(double orderTotalAmount) {
		this.orderTotalAmount = orderTotalAmount;
	}

	public double getStdTotalAmount() {
		return stdTotalAmount;
	}

	public void setStdTotalAmount(double stdTotalAmount) {
		this.stdTotalAmount = stdTotalAmount;
	}

	public double getAddTotalAmount() {
		return addTotalAmount;
	}

	public void setAddTotalAmount(double addTotalAmount) {
		this.addTotalAmount = addTotalAmount;
	}
	@JsonSerialize(using=CustomDateSerializer.class)
	public Date getPayTime() {
		return payTime;
	}

	public void setPayTime(Date payTime) {
		this.payTime = payTime;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	@Override
	public String toString() {
		return "OrderInfoDomain [addBedCount=" + addBedCount
				+ ", addTotalAmount=" + addTotalAmount + ", backTime="
				+ backTime + ", childBedCount=" + childBedCount
				+ ", childNoBedCount=" + childNoBedCount + ", companyId="
				+ companyId + ", createTime=" + createTime + ", day=" + day
				+ ", doubleRoomCount=" + doubleRoomCount + ", goCityCn="
				+ goCityCn + ", goTime=" + goTime + ", groupType=" + groupType
				+ ", night=" + night + ", orderId=" + orderId
				+ ", orderStatus=" + orderStatus + ", orderTotalAmount="
				+ orderTotalAmount + ", payTime=" + payTime + ", remark="
				+ remark + ", routeId=" + routeId + ", singleRoomCount="
				+ singleRoomCount + ", stdTotalAmount=" + stdTotalAmount
				+ ", totalCount=" + totalCount + ", userId=" + userId + "]";
	}

}
